package top.malaoshi.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import top.malaoshi.entity.UserModel;

import java.util.List;

@Repository
public interface IUserMapper {

    public List<UserModel> queryByUsername(String username);
    public List<UserModel> queryByPhone(String phone);
    public int insert(UserModel userMode);
}
